const path = require('path');

module.exports = {
	mode: 'development',
	entry: './extension.js',
	target: 'node',
	devtool: false,
	output: {
		path: __dirname,
		filename: 'out.js',
		library: {
			type: 'commonjs'
		}
	},
	node: {
		__filename: false,
		__dirname: false
	},
	externals: [
		'hbuilderx',
		'miniprogram-ci'
	]
};
